//
//  TableViewController.m
//  gdemm
//
//  Created by 乔明超 on 16/9/21.
//  Copyright © 2016年 Goldencis. All rights reserved.
//

#import "TableViewController.h"
#import "SliderController.h"
#import "Utils.h"
@interface TableViewController ()

@end

@implementation TableViewController

- (void)viewDidLoad {
    [super viewDidLoad];//navigationBar_menu
    self.view.backgroundColor = [Utils UIColorFromHex:0X246AC1];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithImage:[Utils getImageByDevce:@"navigationBar_menu"] style:UIBarButtonItemStylePlain target:self action:@selector(leftBarButtonItemHnadler)];
}

//侧滑栏滑动
- (void)leftBarButtonItemHnadler{
    [[SliderController sharedInstance]leftTapHandler];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 0;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 0;
}

/*
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:<#@"reuseIdentifier"#> forIndexPath:indexPath];
    
    // Configure the cell...
    
    return cell;
}
*/

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    if (![DeviceTypeJudge isPadDeviceType]) {
        return 60;
    }
    return 80;
}

@end
